-
Notifications
You must be signed in to change notification settings - Fork 1.5k
/
ICollectionContract`1.xml
255 lines (243 loc) · 15.2 KB
/
ICollectionContract`1.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
<Type Name="ICollectionContract<C>" FullName="System.AddIn.Contract.Collections.ICollectionContract<C>">
<TypeSignature Language="C#" Value="public interface ICollectionContract<C> : System.AddIn.Contract.Collections.IEnumerableContract<C> where C : IContract" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract ICollectionContract`1<(class System.AddIn.Contract.IContract) C> implements class System.AddIn.Contract.Collections.IEnumerableContract`1<!C>, class System.AddIn.Contract.IContract" />
<TypeSignature Language="DocId" Value="T:System.AddIn.Contract.Collections.ICollectionContract`1" />
<TypeSignature Language="VB.NET" Value="Public Interface ICollectionContract(Of C)
Implements IEnumerableContract(Of C)" />
<TypeSignature Language="F#" Value="type ICollectionContract<'C (requires 'C :> IContract)> = interface
 interface IEnumerableContract<'C (requires 'C :> IContract)>
 interface IContract" />
<TypeSignature Language="C++ CLI" Value="generic <typename C>
 where C : IContractpublic interface class ICollectionContract : System::AddIn::Contract::Collections::IEnumerableContract<C>" />
<AssemblyInfo>
<AssemblyName>System.AddIn.Contract</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<TypeParameters>
<TypeParameter Name="C">
<Constraints>
<InterfaceName>System.AddIn.Contract.IContract</InterfaceName>
</Constraints>
</TypeParameter>
</TypeParameters>
<Interfaces>
<Interface>
<InterfaceName>System.AddIn.Contract.Collections.IEnumerableContract<C></InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.AddIn.Contract.IContract</InterfaceName>
</Interface>
</Interfaces>
<Docs>
<typeparam name="C">The type of elements in the collection. <paramref name="C" /> must implement the <see cref="T:System.AddIn.Contract.IContract" /> interface.</typeparam>
<summary>Represents a generic collection of <see cref="T:System.AddIn.Contract.IContract" /> objects.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
An <xref:System.AddIn.Contract.Collections.ICollectionContract%601> can be dynamically resized.
]]></format>
</remarks>
</Docs>
<Members>
<Member MemberName="Add">
<MemberSignature Language="C#" Value="public void Add (C item);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Add(!C item) cil managed" />
<MemberSignature Language="DocId" Value="M:System.AddIn.Contract.Collections.ICollectionContract`1.Add(`0)" />
<MemberSignature Language="VB.NET" Value="Public Sub Add (item As C)" />
<MemberSignature Language="F#" Value="abstract member Add : 'C -> unit" Usage="iCollectionContract.Add item" />
<MemberSignature Language="C++ CLI" Value="public:
 void Add(C item);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.AddIn.Contract</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="item" Type="C" />
</Parameters>
<Docs>
<param name="item">The <see cref="T:System.AddIn.Contract.IContract" /> to add to the <see cref="T:System.AddIn.Contract.Collections.ICollectionContract`1" />.</param>
<summary>Adds an <see cref="T:System.AddIn.Contract.IContract" /> to the <see cref="T:System.AddIn.Contract.Collections.ICollectionContract`1" />.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
To determine whether an <xref:System.AddIn.Contract.Collections.ICollectionContract%601> is read-only, call the <xref:System.AddIn.Contract.Collections.ICollectionContract%601.GetIsReadOnly%2A> method.
]]></format>
</remarks>
<exception cref="T:System.NotSupportedException">The <see cref="T:System.AddIn.Contract.Collections.ICollectionContract`1" /> is read-only.</exception>
</Docs>
</Member>
<Member MemberName="Clear">
<MemberSignature Language="C#" Value="public void Clear ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Clear() cil managed" />
<MemberSignature Language="DocId" Value="M:System.AddIn.Contract.Collections.ICollectionContract`1.Clear" />
<MemberSignature Language="VB.NET" Value="Public Sub Clear ()" />
<MemberSignature Language="F#" Value="abstract member Clear : unit -> unit" Usage="iCollectionContract.Clear " />
<MemberSignature Language="C++ CLI" Value="public:
 void Clear();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.AddIn.Contract</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Removes all elements from the <see cref="T:System.AddIn.Contract.Collections.ICollectionContract`1" />.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
To determine whether an <xref:System.AddIn.Contract.Collections.ICollectionContract%601> is read-only, call the <xref:System.AddIn.Contract.Collections.ICollectionContract%601.GetIsReadOnly%2A> method.
]]></format>
</remarks>
<exception cref="T:System.NotSupportedException">The <see cref="T:System.AddIn.Contract.Collections.ICollectionContract`1" /> is read-only.</exception>
</Docs>
</Member>
<Member MemberName="Contains">
<MemberSignature Language="C#" Value="public bool Contains (C item);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool Contains(!C item) cil managed" />
<MemberSignature Language="DocId" Value="M:System.AddIn.Contract.Collections.ICollectionContract`1.Contains(`0)" />
<MemberSignature Language="VB.NET" Value="Public Function Contains (item As C) As Boolean" />
<MemberSignature Language="F#" Value="abstract member Contains : 'C -> bool" Usage="iCollectionContract.Contains item" />
<MemberSignature Language="C++ CLI" Value="public:
 bool Contains(C item);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.AddIn.Contract</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="item" Type="C" />
</Parameters>
<Docs>
<param name="item">The <see cref="T:System.AddIn.Contract.IContract" /> to locate in the <see cref="T:System.AddIn.Contract.Collections.ICollectionContract`1" />.</param>
<summary>Returns a value that indicates whether the specified <see cref="T:System.AddIn.Contract.IContract" /> is in the <see cref="T:System.AddIn.Contract.Collections.ICollectionContract`1" />.</summary>
<returns>
<see langword="true" /> if the specified <see cref="T:System.AddIn.Contract.IContract" /> is in the <see cref="T:System.AddIn.Contract.Collections.ICollectionContract`1" />; otherwise, <see langword="false" />.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="CopyTo">
<MemberSignature Language="C#" Value="public void CopyTo (C[] array, int arrayIndex);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void CopyTo(!C[] array, int32 arrayIndex) cil managed" />
<MemberSignature Language="DocId" Value="M:System.AddIn.Contract.Collections.ICollectionContract`1.CopyTo(`0[],System.Int32)" />
<MemberSignature Language="VB.NET" Value="Public Sub CopyTo (array As C(), arrayIndex As Integer)" />
<MemberSignature Language="F#" Value="abstract member CopyTo : 'C[] * int -> unit" Usage="iCollectionContract.CopyTo (array, arrayIndex)" />
<MemberSignature Language="C++ CLI" Value="public:
 void CopyTo(cli::array <C> ^ array, int arrayIndex);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.AddIn.Contract</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="array" Type="C[]" />
<Parameter Name="arrayIndex" Type="System.Int32" />
</Parameters>
<Docs>
<param name="array">The one-dimensional array that is the destination of the elements copied from the <see cref="T:System.AddIn.Contract.Collections.ICollectionContract`1" />.</param>
<param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
<summary>Copies the entire <see cref="T:System.AddIn.Contract.Collections.ICollectionContract`1" /> to a compatible one-dimensional array, starting at the specified index of the target array.</summary>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="array" /> is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="arrayIndex" /> is less than 0.</exception>
<exception cref="T:System.ArgumentException">
<paramref name="array" /> is multidimensional.
-or-
The number of elements in the source <see cref="T:System.AddIn.Contract.Collections.ICollectionContract`1" /> is greater than the available space from <paramref name="arrayIndex" /> to the end of the destination array.
-or-
Type <paramref name="C" /> cannot be cast automatically to the type of the destination array.</exception>
</Docs>
</Member>
<Member MemberName="GetCount">
<MemberSignature Language="C#" Value="public int GetCount ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 GetCount() cil managed" />
<MemberSignature Language="DocId" Value="M:System.AddIn.Contract.Collections.ICollectionContract`1.GetCount" />
<MemberSignature Language="VB.NET" Value="Public Function GetCount () As Integer" />
<MemberSignature Language="F#" Value="abstract member GetCount : unit -> int" Usage="iCollectionContract.GetCount " />
<MemberSignature Language="C++ CLI" Value="public:
 int GetCount();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.AddIn.Contract</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Returns the number of elements contained in the <see cref="T:System.AddIn.Contract.Collections.ICollectionContract`1" />.</summary>
<returns>The number of elements contained in the <see cref="T:System.AddIn.Contract.Collections.ICollectionContract`1" />.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetIsReadOnly">
<MemberSignature Language="C#" Value="public bool GetIsReadOnly ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool GetIsReadOnly() cil managed" />
<MemberSignature Language="DocId" Value="M:System.AddIn.Contract.Collections.ICollectionContract`1.GetIsReadOnly" />
<MemberSignature Language="VB.NET" Value="Public Function GetIsReadOnly () As Boolean" />
<MemberSignature Language="F#" Value="abstract member GetIsReadOnly : unit -> bool" Usage="iCollectionContract.GetIsReadOnly " />
<MemberSignature Language="C++ CLI" Value="public:
 bool GetIsReadOnly();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.AddIn.Contract</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Returns a value that indicates whether the <see cref="T:System.AddIn.Contract.Collections.ICollectionContract`1" /> is read-only.</summary>
<returns>
<see langword="true" /> if the <see cref="T:System.AddIn.Contract.Collections.ICollectionContract`1" /> is read-only; otherwise, <see langword="false" />.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Remove">
<MemberSignature Language="C#" Value="public bool Remove (C item);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool Remove(!C item) cil managed" />
<MemberSignature Language="DocId" Value="M:System.AddIn.Contract.Collections.ICollectionContract`1.Remove(`0)" />
<MemberSignature Language="VB.NET" Value="Public Function Remove (item As C) As Boolean" />
<MemberSignature Language="F#" Value="abstract member Remove : 'C -> bool" Usage="iCollectionContract.Remove item" />
<MemberSignature Language="C++ CLI" Value="public:
 bool Remove(C item);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.AddIn.Contract</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="item" Type="C" />
</Parameters>
<Docs>
<param name="item">The <see cref="T:System.AddIn.Contract.IContract" /> to remove from the <see cref="T:System.AddIn.Contract.Collections.ICollectionContract`1" />.</param>
<summary>Removes the first occurrence of a specific <see cref="T:System.AddIn.Contract.IContract" /> from the <see cref="T:System.AddIn.Contract.Collections.ICollectionContract`1" />.</summary>
<returns>
<see langword="true" /> if <paramref name="item" /> is successfully removed; otherwise, <see langword="false" />. This method also returns <see langword="false" /> if <paramref name="item" /> was not found in the <see cref="T:System.AddIn.Contract.Collections.ICollectionContract`1" />.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
To determine whether an <xref:System.AddIn.Contract.Collections.ICollectionContract%601> is read-only, call the <xref:System.AddIn.Contract.Collections.ICollectionContract%601.GetIsReadOnly%2A> method.
]]></format>
</remarks>
<exception cref="T:System.NotSupportedException">The <see cref="T:System.AddIn.Contract.Collections.ICollectionContract`1" /> is read-only.</exception>
</Docs>
</Member>
</Members>
</Type>